<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div>
    <input type="text" id="ip-search" placeholder="请输入">
    <button id="bt-search">搜索</button>
</div>

</body>
</html>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>

    // let btObj = document.getElementById('bt-search');
    //
    // btObj.onclick = function () {
    //
    //     const ipValue = document.getElementById('ip-search').value;
    // }
    //





</script>